package com.gydz.gydzbaseframeworkboot.gsCenter.service.impl;

import com.gydz.gydzbaseframeworkboot.gsCenter.dao.GsmasterMapper;
import com.gydz.gydzbaseframeworkboot.gsCenter.domain.UserInfo;
import com.gydz.gydzbaseframeworkboot.gsCenter.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("UserInfoService")
public class UserInfoServiceImpi implements UserInfoService {

    @Autowired
    GsmasterMapper gsmasterMapper;

    @Override
    public UserInfo getByUserAccount(String userAccount) {
        return gsmasterMapper.getByUserAccount(userAccount);
    }

    @Override
    public String getUserAuthorityInfo(long id) {
        return gsmasterMapper.getUserAuthorityInfo(id);
    }
}
